\documentclass[12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{lmodern, amssymb, amsmath, xcolor, longtable, booktabs, ifxetex, ifluatex, hyperref, a4wide}

\usepackage[small]{titlesec}
\usepackage[a4paper,pdftex,margin=1in]{geometry}
\usepackage[authoryear]{natbib}

\hypersetup{hidelinks, pdfcreator={LaTeX via pandoc}}
\urlstyle{same} % Disable monospaced font for URLs
\setlength{\emergencystretch}{3em} % Prevent overfull lines
\providecommand{\tightlist}{
	\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}
}

\setcounter{secnumdepth}{-\maxdimen} % Remove section numbering
\renewcommand{\baselinestretch}{1.25}

\author{}
\date{}


\begin{document}
	
	
	\hypertarget{template-readme-and-guidance}{% 
		\section{README for:\\Inequality of Opportunity and Income Redistribution}\label{template-readme-and-guidance}}
	
	
	\hypertarget{overview}{%
		\subsection{Overview}\label{overview}}
	
		The code in this replication package constructs the analysis files using data from our experiment on redistribution preferences. The analysis is conducted using Stata. One main code file runs all the codes necessary to clean and prepare the data for analysis, and another code file generates the figures and tables in the paper. The main analysis uses experimental data collected by the authors from participants in the Federal Reserve Bank of New York's Survey of Consumer Expectations (SCE).
	
	\hypertarget{data-availability-and-provenance-statements}{%
		\subsection{Data Availability and Provenance Statements}\label{data-availability-and-provenance-statements}}
	
	
	\begin{itemize}
		\tightlist
		\item[$\square$]
		This paper does not involve analysis of external data (i.e., no data
		are used or the only data are generated by the authors via simulation
		in their code).
	\end{itemize}
	
	\begin{quote}
		If box above is checked and if no simulated/synthetic data files are
		provided by the authors, please skip directly to the section on
		\protect\hyperlink{computational-requirements}{Computational
			Requirements}. Otherwise, continue.
	\end{quote}
	
	
	\hypertarget{statement-about-rights}{%
		\subsubsection{Statement about Rights}\label{statement-about-rights}}
	
	\begin{itemize}
		\tightlist
		\item[$\boxtimes$]
		I certify that the author(s) of the manuscript have legitimate access to and permission to use the data used in this manuscript.
		\item[$\square$]
		I certify that the author(s) of the manuscript have documented permission to redistribute/publish the data contained within this replication package. Appropriate permission are documented in the \href{https://social-science-data-editors.github.io/template_README/LICENSE.txt}{LICENSE.txt} file.
	\end{itemize}
	
	
	
	\hypertarget{summary-of-availability}{%
		\subsubsection{Summary of Availability}\label{summary-of-availability}}
	
	\begin{itemize}
		\tightlist
		\item[$\boxtimes$]
		All data \textbf{are} publicly available.
		\item[$\square$]
		Some data \textbf{cannot be made} publicly available.
		\item[$\square$]
		\textbf{No data can be made} publicly available.
	\end{itemize}
	
	\subsubsection{Details on each Data Source}\label{details-on-each-data-source}
	
	The analysis in this paper relies on experimental data collected by the authors. The authors provide de-identified versions of the datasets sufficient for replication. Below are details on each of these datasets. The authors will assist with any reasonable attempts to replicate the analysis for two years following publication.

	Our experiment consisted of two components: a worker task conducted in October 2021 with workers recruited from Amazon Mechanical Turk, and a spectator decision task conducted in November 2021 with participants recruited from the Federal Reserve Bank of New York's \textit{Survey of Consumer Expectations} (SCE). The replication package includes the raw data files from both components.

\begin{enumerate}
	
	\item The worker data files contain information about worker performance in the encryption task, their productivity multipliers, and whether they learned about their multiplier before or after completing the real-effort task:
	\begin{itemize}
		\item \texttt{exante\_2021-10-01.csv}
		\item \texttt{expost\_2021-10-01.csv}
		\item \texttt{instructions\_2021-10-01.csv}
		\item \texttt{PageTimes-2021-10-01.csv}
		\item \texttt{results\_2021-10-01.csv}
	\end{itemize}
	
	\item The spectator data files contain the redistribution decisions made by spectators, their treatment assignment, their responses to our exit survey with political and social views, and demographic information:
	\begin{itemize}
		\item \texttt{all\_apps\_wide\_2021-11-03.csv}
		\item \texttt{exit\_2021-11-03.csv}
		\item \texttt{experiment\_ids\_with\_demographics.csv}
		\item \texttt{instructions\_2021-11-03.csv}
		\item \texttt{PageTimes-2021-11-03.csv}
		\item \texttt{rounds\_2021-11-03.csv}
		\item \texttt{rounds\_2021-11-03\_cf\_implemented.csv}
	\end{itemize}
	
\end{enumerate}
	
	After running the cleaning scripts (\texttt{clean-worker.do} and \texttt{clean-spectator.do}), two Stata datasets are generated: \texttt{worker.dta} and \texttt{spectator.dta}, which are then used for all subsequent analyses.

	\hypertarget{computational-requirements}{%
		\subsection{Computational requirements}\label{computational-requirements}}
	
	\hypertarget{software-requirements}{%
		\subsubsection{Software Requirements}\label{software-requirements}}
	
	
	\begin{itemize}
		\tightlist
		\item
		Stata (code was last run with version 18)
		
		\begin{itemize}
			\tightlist
			\item \texttt{estout} (as of 2023-12-01)
			\item \texttt{reghdfe} (as of 2023-12-01)
			\item \texttt{lpoly} (as of 2023-12-01)
		\end{itemize}
		
	\end{itemize}
	
	
	\hypertarget{memory-and-runtime-requirements}{%
		\subsubsection{Memory and Runtime Requirements}\label{memory-and-runtime-requirements}}
	
	
	
	\hypertarget{summary}{%
		\paragraph{Summary}\label{summary}}
	
	Approximate time needed to reproduce the analyses:
	
	\begin{itemize}
		\tightlist
		\item[$\boxtimes$]
		\textless10 minutes
		\item[$\square$]
		10-60 minutes
		\item[$\square$]
		1-2 hours
		\item[$\square$]
		2-8 hours
		\item[$\square$]
		8-24 hours
		\item[$\square$]
		1-3 days
		\item[$\square$]
		3-14 days
		\item[$\square$]
		\textgreater{} 14 days
		\item[$\square$]
		Not feasible to run on a desktop machine, as described below.
	\end{itemize}
	
	\hypertarget{details}{%
		\paragraph{Details}\label{details}}
	
	The code that reproduces the tables and figures (\texttt{master.do}) runs in less than 5 minutes on a standard desktop computer with at least 8GB of RAM.
	
	
	\hypertarget{description-of-programscode}{%
		\subsection{Description of programs/code}\label{description-of-programscode}}
	
	\begin{itemize}
		%\tightlist
		\item \texttt{master.do}: This code executes all the files that clean the raw data and prepare the final analysis datasets. The codes that this file executes are organized in the following folders:
		\begin{itemize}
			\item \texttt{clean}: Contains the files that clean and prepare the raw data
			\begin{itemize}
				\item \texttt{clean-worker.do}: Cleans the raw data from the worker sample
				\item \texttt{clean-spectator.do}: Cleans the raw data from the spectator sample
			\end{itemize}
			\item \texttt{results}: Contains the code that produces all figures and tables in the paper
			\begin{itemize}
				\item \texttt{figures.do}: Creates the main figures in the paper
				\item \texttt{tables.do}: Creates the main tables in the paper
				\item \texttt{appendix-tables.do}: Creates the tables in the appendix
				\item \texttt{appendix-figures.do}: Creates the figures in the appendix
				\item \texttt{appendix-figure-B1}: Creates Appendix Figure B1 (requires R)
				\item \texttt{appendix-figure-B2}: Creates Appendix Figure B2 (requires Matlab)
			\end{itemize}
		\end{itemize}
		
	\end{itemize}
	
	\hypertarget{list-of-tables-and-programs}{%
		\subsection{List of tables and programs}\label{list-of-tables-and-programs}}
	
	
	The provided code reproduces:
	
	\begin{itemize}
		\tightlist
		\item[$\square$]
		All numbers provided in text in the paper
		\item[$\boxtimes$]
		All tables and figures in the paper
		\item[$\square$]
		Selected tables and figures in the paper, as explained and justified
		below.
	\end{itemize}
	
	\begin{center}
		
		\begin{tabular}{llr}
			\toprule
			Figure/Table    & Program         & Line(s)        \\\midrule
			Figure 1        & results/figures.do &  28-46                    \\
			Figure 2, Panel A         & results/figures.do &  86-93                     \\
			Figure 2, Panel B         & results/figures.do &  146-153                     \\
			Figure 3, Panel A         & results/figures.do &  184-191                     \\
			Figure 3, Panel B         & results/figures.do &  194-199                     \\
			Figure 4        & results/figures.do & 234-250                   \\
			Figure 5        & results/figures.do & 289-298                   \\
			Figure 6, Panel A         & results/figures.do &  96-110                     \\
			Figure 6, Panel B         & results/figures.do &  156-169                     \\
			Table 1         & results/tables.do & 5-133                    \\
			Table 2         & results/tables.do & 137-209                   \\
			Table 3         & results/tables.do & 213-331                   \\
			Appendix Tables & results/appendix-tables.do & various         \\
			Appendix Figures & results/appendix-figures.do & various       \\
			\bottomrule
		\end{tabular}
	\end{center}
	
	
	
	\clearpage
	\begin{center}\rule{0.5\linewidth}{0.5pt}\end{center}
	
	\hypertarget{acknowledgements}{%
		\subsection{Acknowledgements}\label{acknowledgements}}
	
	Some content on this page was copied from
	\href{https://www.hindawi.com/research.data/\#statement.templates}{Hindawi}.
	Other content was adapted from
	\href{https://doi.org/10.1093/restud/rdw057}{Fort (2016)}, Supplementary
	data, with the author's permission.
	
\end{document}